package com.lfx.concurrent.demo;

/**
 * @author 李逢喜
 * create 2021/7/21
 */
public class CurrentMain {

    public static void main(String[] args) throws InterruptedException {
        MyThread myThread=new MyThread();
        myThread.start();
        for (int i = 0; i < 5; i++) {
            System.out.println("主程序轮询");
        }
        myThread.join();

        System.out.println(Thread.currentThread().getName()+",跑起来了");
    }
}
